<template>
		<view class="good_item">
			<image src="../../static/logo.png"></image>
			<view class="price">
				<text>￥2199</text>
				<text>￥2499</text>
			</view>
			<view class="name">
				华为手机新款闪耀粉
			</view>
		</view>
</template>

<script>
	export default {
		name:"good-list-item",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
		.good_item{
				background: #007AFF;
				width: 350rpx;
				margin: 10rpx;
				padding: 15rpx;
				box-sizing: border-box;//不会把盒子撑大
				image{
					width: 80%;
					height: 150px;
					margin:auto;
					display: block;
				}
				.price{
					color: #F0AD4E;
					font-size: 36rpx;
					text:nth-child(2){
						color: #8F8F94;
						font-size: 28;
						margin-left: 7rpx;
						//中划线
						text-decoration: line-through;
					}
				}
			}
</style>